package com.yss.reportworld.domain.dim;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yss.common.core.annotation.EasyExcel;
import com.yss.common.core.utils.easyexecl.IntegerConverter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yss.common.core.web.domain.BaseEntity;

/**
 * 特殊维度信息对象 dim_special_info
 *
 * @author yss
 * @date 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dim_special_info")
public class DimSpecialInfo extends BaseEntity {

    /**
     * 技术主键
     */
    private String id;

    /**
     * 指标类型编码
     */
    @ExcelProperty(value = "指标类型编码")
    @TableField("FINDX_TP_CODE")
    private String findxTpCode;

    /**
     * 组合内码
     */
    @ExcelProperty(value = "组合内码")
    @TableField("FPD_CD")
    private String fpdCd;

    /**
     * 科目代码
     */
    @ExcelProperty(value = "科目代码")
    @TableField("FSUBJECT_CD")
    private String fsubjectCd;

    /**
     * 科目名称
     */
    @ExcelProperty(value = "科目名称")
    @TableField("FSUBJECT_NM")
    private String fsubjectNm;

    /**
     * 版本号
     */
    @ExcelProperty(value = "版本号")
    @TableField("VERSION")
    private String version;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = IntegerConverter.class)
    @EasyExcel(readConverterExp = "1=正常,2=停用")
    @TableField("STATUS")
    private Integer status;

}
